<h2>Step 2 - Create System Table</h2>
<?php
$sql = "CREATE TABLE IF NOT EXISTS `system` (
  `SystemVersion` varchar(50) NOT NULL,
  `SystemEnabled` int(1) NOT NULL,
  `SystemOffMsg` longtext NOT NULL,
  `SystemTitle` varchar(50) NOT NULL,
  `SystemNotes` varchar(255) NOT NULL,
  `ContactNumber` varchar(15) NOT NULL,
  `ContactEmail` varchar(30) NOT NULL,
  `SystemContact` longtext NOT NULL,
  `SystemAbout` longtext NOT NULL,
  `id` int(2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;";
$result = mysql_query($sql);
if (!$result) {
    die('Invalid query: ' . mysql_error());
}

echo "Step 2 Completed, System Table Created<br /><meta http-equiv='refresh' content='3;URL=index.php?step=3'><br /><a href='index.php?step=3'>If you are not redirected in 3 seconds click here</a>";

?>
